package cn.xiaomagege.platform.module.sys.entity;

public class QuartzTaskLog extends DataEntity<QuartzTaskLog> {
    private static final long serialVersionUID = 1L;
    
    private Long jobId;
    private String name;
    private String targetBean;
    private String targetMethod;
    private String params;
    private Integer status;
    
    /**
     * 异常消息
     */
    private String error;
    
    /**
     * 执行时间
     */
    private Integer times;
    
    public Long getJobId() {
        return jobId;
    }
    
    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getTargetBean() {
        return targetBean;
    }
    
    public void setTargetBean(String targetBean) {
        this.targetBean = targetBean;
    }
    
    public String getTargetMethod() {
        return targetMethod;
    }
    
    public void setTargetMethod(String targetMethod) {
        this.targetMethod = targetMethod;
    }
    
    public String getParams() {
        return params;
    }
    
    public void setParams(String params) {
        this.params = params;
    }
    
    public Integer getStatus() {
        return status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    public String getError() {
        return error;
    }
    
    public void setError(String error) {
        this.error = error;
    }
    
    public Integer getTimes() {
        return times;
    }
    
    public void setTimes(Integer times) {
        this.times = times;
    }
    
    @Override
    public String toString() {
        return "QuartzTaskLog{" + ", jobId=" + jobId + ", name=" + name + ", targetBean=" + targetBean
                + ", targetMethod=" + targetMethod + ", params=" + params + ", status=" + status + ", error=" + error
                + ", times=" + times + "}";
    }
}